﻿using System;
using System.Runtime.Serialization;

namespace CommonComponents.ExceptionHandling
{
    public class DataLayerException : Exception, ISerializable
    {
        public DataLayerException()
        {
        }

        public DataLayerException(string message)
            : base(message)
        {
        }

        public DataLayerException(string message, Exception inner)
            : base(message, inner)
        {
        }

        protected DataLayerException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}